package com.ruoyi.bbsAdmin.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * bbs_config对象 bbs_config
 * 
 * @author ruoyi
 * @date 2023-08-09
 */
public class BbsConfig implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 小程序Id */
    @Excel(name = "小程序Id")
    private String appId;

    /** 学校id */
    @Excel(name = "学校id")
    private Integer schoolId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String configType;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String configJson;

    /** 群发状态 */
    @Excel(name = "群发状态")
    private Integer state;

    /** 机器人id */
    @Excel(name = "机器人id")
    private String robotId;

    /** 群发列表 */
    @Excel(name = "群发列表")
    private String groupList;

    /** 上次群发时间 */
    @Excel(name = "上次群发时间")
    private Date lastSendTime;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private Date createTime;

    /** 更新时间 */
    @Excel(name = "更新时间")
    private Date updateTime;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setAppId(String appId) 
    {
        this.appId = appId;
    }

    public String getAppId() 
    {
        return appId;
    }
    public void setSchoolId(Integer schoolId) 
    {
        this.schoolId = schoolId;
    }

    public Integer getSchoolId() 
    {
        return schoolId;
    }
    public void setConfigType(String configType) 
    {
        this.configType = configType;
    }

    public String getConfigType() 
    {
        return configType;
    }
    public void setConfigJson(String configJson) 
    {
        this.configJson = configJson;
    }

    public String getConfigJson() 
    {
        return configJson;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setRobotId(String robotId) 
    {
        this.robotId = robotId;
    }

    public String getRobotId() 
    {
        return robotId;
    }
    public void setGroupList(String groupList) 
    {
        this.groupList = groupList;
    }

    public String getGroupList() 
    {
        return groupList;
    }
    public void setLastSendTime(Date lastSendTime) 
    {
        this.lastSendTime = lastSendTime;
    }

    public Date getLastSendTime() 
    {
        return lastSendTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("appId", getAppId())
            .append("schoolId", getSchoolId())
            .append("configType", getConfigType())
            .append("configJson", getConfigJson())
            .append("state", getState())
            .append("robotId", getRobotId())
            .append("groupList", getGroupList())
            .append("lastSendTime", getLastSendTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
